home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / COMMUNIC / BULLETIN / 0554.ZIP / RYBBS.DOC < prev    next >
Text File  |  1986-07-24  |  46KB  |  1,048 lines

  1. RYBBS   Copyright 1986 Gregory J. Ryan (C)
  2. Ryan Bulletin Board System Documentaion
  3. Updated 7-14-86 by Gregory J. Ryan
  4. Edited 7-22-86 by Todd Smith
  5.  
  6. ----------------------------------------------------------------
  7. INTRODUCTION
  8. ============
  9.  
  10. RYBBS is a new entry into the Shareware BBS field. I believe
  11. that the power inherent in the Rybbs program can solve most
  12. bbs requirements. This document will attempt to describe the
  13. different aspects of Rybbs.
  14.  
  15. Like most bbs programs, RYBBS is menu driven. This means that
  16. the user is shown a list of choices and usually selects one
  17. or more of those choices.
  18.  
  19. Unlike most bbs programs, RYBBS can actually grow in menu size
  20. and shape. Each bbs system can be designed exactly the way the
  21. sysop desires it. This can mean 50 menus or 1 menu. It's totally
  22. up to you, the sysop.
  23.  
  24. Rybbs menus are built of RYBBS commands (described in detail
  25. later on in this document). Each command allows the user to
  26. perform a certain activity on the bbs. Any command may reside
  27. in any menu. You are not limited to one file menu and one message
  28. menu.
  29.  
  30. If you feel that this program is worth your time to run, I would
  31. appreciate you taking some time to send me a contribution of $35.
  32. This will ensure bigger and better revisions of the program. If you
  33. are using this program in a commercial application this contribution
  34. is mandatory. All contributions should be sent to:
  35.  
  36.         Gregory Ryan
  37.         4427 N. Morris Blvd.
  38.         Shorewood, WI 53211
  39.  
  40. I would like to thank my Beta testers at this point. Dale
  41. Klipstein, Peter Ozolins, Matt Vittorio, Dick Laabs, and
  42. Todd Smith. Thanks to Todd for helping with the documentation.
  43.  
  44.                                                 Gregory J. Ryan        *
  45. ----------------------------------------------------------------
  46.  
  47. Files Needed
  48. ------------
  49.  
  50. The following files are required by the RYBBS system and MUST
  51. be contained in the current directory or the system may crash!         *
  52.  
  53. Rybbs.com  -  Bulletin board program
  54. Rybbs.0**  -  Bulletin board overlay files
  55. First.bbs  -  First Menu file to run
  56. Users.bbs  -  Users file (will be created if non-existant)
  57. Rmess.bbs  -  Message file #1  (will be created if non-existant)
  58. Rline.bbs  -  Message file #2  (will be created if non-existant)
  59. Callers.log-  Log of all callers activities (will be created if non-existant)
  60. Error.log  -  Log of fatal errors (will be created)
  61. Boards.bbs -  List of all the messages boards in the format                 *
  62. Macros.bbs    File of user macros    (will be created if non-existant)      *
  63. Upload.bbs    File of upload areas
  64. Download.bbs  File of download areas
  65.  
  66. Optional Files
  67. --------------
  68. Other Menu files (may be loaded into memory via the MENUS.BBS file)
  69.  
  70. Note:  All optional files can be created using any text editor that writes  *
  71.      ASCII files.                                                           *
  72.                                                                             *
  73. Filename.que -Questionaire questions
  74. Filename.ans -Questionaire answers
  75.               Use a separate line for each question.  Answers will have     *
  76.               a line number corresponding to the question line.             *
  77.                                                                             *
  78.                  For example:   A questionare about VCRs.  (VCR.Que)        *
  79.                                                                             *
  80.                             Do you own a VCR?                               *
  81.                             Do you suscribe to a Cable TV service?          *
  82.                             Are you a member in a Tape Rental Club?         *
  83.                             How many tapes do you rent per month?           *
  84.                             ......etc.                                      *
  85.                                                                             *
  86.                      The answer file (VCR.Ans) will look like this:         *
  87.                                                                             *
  88.                             1 Yes                                           *
  89.                             2 No                                            *
  90.                             3 Yes,  Fred's Tape Rental                      *
  91.                             4 12 tapes                                      *
  92.                             1 No                                            *
  93.                             2 ......... etc.                                *
  94.                                                                             *
  95.  
  96.               The filename can be any string 1 to 8 character in length.    *
  97.               The .Que extension is mandatory.  The .Ans extension file     *
  98.               will be created automatically, when the first caller responds.*
  99.  
  100. Newuser.que  -Questionaire that new users would be forced to respond to     *
  101.               only on the users INITIAL logon to RYBBS.  The format is      *
  102.               identical to the Questionare file                             *
  103. Newuser.ans  -Answers file for above.  Created automatically.               *
  104.  
  105. Filename.lin
  106. Filename.mes- Name of files that would be alternate message board file.
  107.               The filename can be any string 1 to 8 characters in length.
  108.               The .Lin and .Mes extentions are mandatory. Create these      *
  109.               files by copying RMESS.BBS to filename.mes and RLINE.BBS to   *
  110.               filename.lin.
  111.  
  112. Killuser.bbs- Text file that is output to the user when the sysop logs him
  113.               off using F8.
  114. Badfiles.bbs- List of files that may not be downloaded.
  115.  
  116. Nonew.bbs   - Contains the log-off message that will be displayed to
  117.               people trying to log on as new members if the new user
  118.               lockout is in effect.
  119. Badname.bbs - Contains words that may not be used as part of the user's
  120.               name. Generally this file contains profanity and misc.
  121.               hacker words.
  122. Startup.bbs - Contains initial setups for the RYBBS system. See the
  123.               description of this file later on in the manual.
  124. Limits.bbs -  Contains maximum time per day for selected security levels
  125.               in form of:  Security level,maximum time
  126.  
  127. Priority.bbs- Text file output to user that is not of sufficient security
  128.               level to access the system at a priority time.
  129.  
  130. Events.bbs -  Contains the events that are scheduled.
  131. Menus.bbs  -  Contains the names of frequently called menu files
  132.               (eg first.bbs,files.mnu,mess.mnu etc)
  133. NNNNN.bbs     Personal file (NNNNN is user number). This will be
  134.               displayed and then deleted from the disk.
  135. Sysop.bbs     Text file that will be output when system is not
  136.               available for chat.
  137. Hello.bbs     First text file to output (before logon)
  138. Welcome.bbs-  Second text file to output (before logon)
  139. Welcome1.bbs- Third text file to output (after logon)
  140. Newuser.bbs-  File to be output to a new user.
  141. Goodbye.bbs-  Exiting text file (output to person logging off)
  142. Online.bbs-   Text file containing allowable executable programs.
  143.               The format is the complete program name with all
  144.               necessary parameters.
  145.               (e.g.   EDITCOM.COM 1  )
  146.               MAKE SURE YOU HAVE ENOUGH MEMORY IN YOUR SYSTEM AND
  147.               MAKE SURE THE ONLINE PROGRAM COMMUNICATES WITH THE
  148.               COMM PORT!
  149.  
  150. Programs.bbs- Text file containing allowable executable programs.
  151.               The format is the complete program name with all
  152.               necessary parameters.
  153.               (e.g.   EDITCOM.COM 1  )
  154.               MAKE SURE YOU HAVE ENOUGH MEMORY IN YOUR SYSTEM AND
  155.               MAKE SURE THE ONLINE PROGRAM COMMUNICATES WITH THE
  156.               COMM PORT!
  157.  
  158. Files.bbs     Contains programs names that are able to be downloaded
  159.               or have been uploaded.
  160. Offhook.bbs   Contains modem commands to allow modem to go off-hook
  161.               (for sysop log-on and sysop utilities)
  162. Modeinit.bbs  Contains modem commands that will be sent to modem
  163.               on program startup and after each caller hangs up.
  164. Notenuf.bbs   File to be output if a user attempts to access a command
  165.               above his/her security level.
  166. .pa
  167. ----------------------------------------------------------------
  168. Starting up RYBBS
  169.  
  170. Rybbs is started by typing the following from the keyboard or
  171. from within a batch file.
  172.  
  173. C>RYBBS [options] (return)
  174.  
  175.     The options are as follows:
  176.       2   Allows running the bbs from COM port 2
  177.       G   Allows graphics to be run and requests graphics
  178.           capability when a new user logs in.
  179.       D   Debug capability on
  180.       M   Message debug capability on
  181.       L   New user lock out. Disables system from allowing
  182.           new users.
  183.       P1  Requires a new user to enter his phone number during the          *
  184.           initial logon to RYBBS.                                           *
  185.       P2  Requires the user to enter his phone number EVERY time as         *
  186.           an additional password.                                           *
  187.       Q   Activates Questionaire option.                                    *
  188.       R   Allows the reply to a message to have private
  189.           status even if the message is public.
  190.       ?   Lists the functions of all the options and then halts.
  191.  
  192.   These options may be entered in any order but must be separated           *
  193.   by spaces.                                                                *
  194.             For example:  Rybbs 2 l d                                       *
  195.                                                                             *
  196.                          This will:  Start RYBBS from Com port 2,           *
  197.                                      lock out new users, and                *
  198.                                      turns the debug capability on.         *
  199.  
  200.   The file Startup.BBS duplicates many of these commands without the
  201.   need of entering it from the command line. Startup.bbs is a text
  202.   file containing lines of commands that rybbs will read when the
  203.   program begins operation. The commands are as follows:
  204.  
  205.  Command                Action Taken
  206.  
  207.  graphics              graphics
  208.  available             sysop available
  209.  not available         sysop not available
  210.  nosysop               sysop function key screen
  211.  com1                  run on com1
  212.  com2                  run on com2
  213.  lockout               lockout new users
  214.  debug                 debug on
  215.  mdebug                message debug on
  216.  private               query on privacy of message reply
  217.  phone                 requires new user to enter phone # during            *
  218.                        initial logon to RYBBS                               *
  219.  phone pass            requires user to enter phone # as second password    *
  220.  question              activates the Questionaire facility including        *
  221.                        Newuser questionaire                                 *
  222.  
  223. The first time RYBBS is run, the users file will be created with the
  224. sysops name as SYSOP.
  225. When the sysop wishes to log in he should type SYSOP; as his name.
  226. The semi-colon is IMPORTANT!
  227.  
  228. ----------------------------------------------------------------
  229.  
  230. File names
  231. ----------
  232.  
  233. Except for the files listed above file names may be any
  234. valid IBM DOS file name. Path names are supported and
  235. may indeed clean up an otherwise messy directory. For example,
  236. if you have a list of bulletins that you wish to display from
  237. a seperate menu, the menu may be in another directory and
  238. the bulletins may be in another directory
  239.  
  240. menu,b,5,5,[B]ulletins,\bullet\bullet.mnu
  241.  
  242. When the above command is activated (by pressing the 'b' key
  243. from the current menu), a new menu by the name of bullet.mnu
  244. in the \bullet\ directory (of the current disk) is loaded and
  245. displayed. This menu file might look like this:
  246.  
  247. cmnt,x1,5,5,-----------Bulletins-----------
  248. text,1,5,5,   1-Local Area Bulletin boards,\bullet\locboards.txt
  249. text,2,5,5,   2-National Bulletin boards,natboards.txt
  250. text,3,5,5,   3-Computer events scheduled,comevents.txt
  251. menu,q,5,5,   Q-Quit to main menu,main.mnu
  252. cmnt,x2,5,5,-----------Bulletins-----------
  253.  
  254.  
  255. Graphics
  256. --------
  257. If you wish to have graphics capability, you must have two sets of
  258. menu files (or text files). The file name will be the same as
  259. called out in the menu command EXCEPT the last character before the
  260. period will be a "g"!                                                       *
  261. Example     regular file   main.mnu
  262.             graphics file  maing.mnu
  263.  
  264. Note: This format restricts the name to 7 characters instead of a
  265. normal 8 characters!
  266.  
  267. The program first checks to see if the user has graphics capability. It
  268. then searches for the graphics equivilent of the requested file. If the     *
  269. graphics menu exists, it is output to the screen, otherwise the normal      *
  270. non-graphics file is output instead.                                        *
  271.  
  272. Another method for achieving graphics is to design a graphics file
  273. that will take the place of your menu. You must then have the MENT
  274. command in the menu. For example:
  275.  
  276. ment,##,5,5,   Graphics Menu  ,graph.mnu
  277. ....   more menu commands that are listed in graph.mnu
  278. quer,xx,5,5,   Optional QUER command lists short options, etc.
  279. -------------------------------------------------------------------
  280.  
  281. Modem Setup
  282. -----------
  283.  
  284. Hayes modem 1200
  285.                   12345678
  286. switch settings   UUDDDUUD   (U=Up, D=Down)
  287.  
  288.   Initial logon parameters are 1200 baud,No parity,8 bits,1 stop
  289.   will change to 1200,even,7,1 automatically.
  290.   will change to 300,even,7,1 automatically and
  291.   will change to 300,no parity,8,1 automatically and
  292.   will change to no parity,8,1 for xmodem protocol file transfer
  293.  
  294. ======================
  295.  
  296. Avatex 1200 external
  297.  
  298.                   12345678
  299. switch settings   UUUUUUUU   (U=Up, D=Down)
  300. In addition the Modeinit.bbs file must be added for correct startup of the
  301. modem.
  302. The only line needed in the file is:
  303. ATAA
  304.  
  305.  The optional file MODEINIT.BBS may contain lines of text that will
  306.  be sent to the modem upon start up of the program and each time
  307.  a user hangs up. Each line is sent to the modem followed by a
  308.  carriage return and a small delay. If MODEINIT.BBS doesn't exist
  309.  then the default commands sent are:
  310.  
  311.  ATZ (RETURN)
  312.  ATM0X1V1S0=1 (RETURN)
  313.  
  314. ----------------------------------------------------------------
  315. Menus
  316. -----
  317.  
  318. The menus are text files and are set up in the following format
  319.  
  320. command_name,command_entry,security to view, security to execute,text,Filename
  321.  
  322. 1) The command_name is always a four letter word. this is the element that
  323.    the program recognizes as a command.
  324.  
  325. 2) The Command_entry is a 1 to 3 letter (or number) string that will execute
  326.    the command_name command when it is entered at the command line or from
  327.    within a MULT command. This will appear in the short menu on the command
  328.    line.
  329.  
  330. 3) The security to view is the security to allow a person actually view the
  331.    command text. It is an integer value.
  332.  
  333. 4) The security to execute is the security to allow a person execute the
  334.    command. As you can see the person can execute an invisible command if
  335.    that is what the sysop desires. Alternately, the person may not be
  336.    able to execute a VISIBLE command. This is also an integer value.
  337.  
  338. 5) This is the text that appears on the long menu (when expert status is
  339.    turned off). This text can be up to 50 characters in length.
  340.  
  341. 6) This is a parameter that is necessary only with certain commands and will
  342.    usually define a filename or path. This filename/path can be up to 50
  343.    characters in length. Pathnames are ALWAYS finished with a \ character.
  344.    Make sure no invisible characters are entered into the command lines.
  345.    Failure to do so may make the command invalid.
  346.  
  347. For example: Menu
  348.    menu,b,5,5,(B)ulletins,bulletin.bbs
  349.  
  350. The command is menu (which when chosen will load and display a new menu).
  351. The long menu will have the string '(B)ulletins'  without the quotes.
  352. The person will have to type in b (upper or lower) and then return.
  353. If the persons security is >=5 the program will load in a menu file with
  354. the name of bulletin.bbs (in the current directory). Pathnames are allowed
  355. so the filename could have been \newdir\bulletins\bulletin.bbs.
  356.  
  357. Here is a typical menu for a message area.
  358.  
  359. cmnt,xxc,5,5,=========== Message Menu ===========,
  360. entr,e,5,5,|       [E]nter a message          |,
  361. mess,r,5,5,|       [R]ead a message           |,
  362. scan,s,5,5,|       [S]can messages            |,
  363. menu,m,5,5,|       [M]ain menu                |,main.bbs
  364. xprt,x,5,5,|       [X]pert toggle             |,
  365. chgm,c,5,5,|       [C]hange boards            |,
  366. quit,g,5,5,|       [G]oodbye                  |,
  367. cmnt,xxc,5,5,=========== Message Menu ===========,
  368. cmnt,c,5,5,
  369.  
  370. Frequently called menus may be entered into the menus.bbs file in the
  371. format of 1 menu name per line. These will be loaded into memory on program
  372. startup. Thereafter, if one of the designated menus is called, a disk access
  373. is not performed. The number of 'resident' menus is limited only by the
  374. amount of memory you have available in the system.
  375.  
  376. Menu restrictions
  377. -----------------
  378. Menus can have up to 30 command lines
  379. String lengths as listed in above descriptions
  380.  
  381. MENU COMMANDS
  382. -------------
  383.  
  384. The following commands are allowable.
  385.  
  386. All commands may be activated from ANY menu that you (sysop) desire.
  387. A MAXIMUM of 30 commands may be contained in any menu. Make sure
  388. that the menus are written with a word processor that doesn't put
  389. control characters in the file (unless that is what you intend!).
  390. The IBM internal graphics characters are ok.
  391.  
  392. MESSAGE COMMANDS
  393. ----------------
  394.  
  395. Shof - Shows the current message board enabled (or all). This command
  396.        may be located anywhere in the menu that's desired. The access
  397.        and view security should be set higher then 100 (because they
  398.        have no effect and should not be viewed or executed).
  399.          Example
  400.            Shob,xc,105,105, Invisible Show Board command,
  401.  
  402. Scan - Scan the message file for message headers. Summerizes messages
  403.        by showing name from , name to , board, and summery. The optional
  404.        filename would access a special message board. Filename is entered
  405.        WITHOUT an extention. The RYBBS program will put the extensions on.
  406.  
  407.           Example:
  408.             Scan,s,5,5,   [S]can messages,[Filename]
  409.  
  410. Mess - Read a message from the message file. The program asks for
  411.        a message number or * for the last message read. The optional
  412.        filename would access a special message board. Filename is entered
  413.        WITHOUT an extention. The RYBBS program will put the extensions on.
  414.  
  415.           Example
  416.             Mess,r,5,5,  [R]ead messages,[Filename]
  417.  
  418. Entr - Enter a message into the message file. The currently selected
  419.        board is used as the area if one is selected. If all boards
  420.        are selected then the program will query the user as to the
  421.        desired board of the message.The optional
  422.        filename would access a special message board. Filename is entered
  423.        WITHOUT an extention. The RYBBS program will put the extensions on.
  424.  
  425.          example:
  426.             Entr,l,5,5,  [L]eave a message,[Filename]
  427.  
  428. Chek - Check message file for messages that the current users either
  429.        left or has waiting. When the bbs session starts the messages
  430.        file is checked starting at the last message read. When this
  431.        command is activated from a menu file, the entire message file
  432.        is checked and all applicable message numbers are shown. The optional
  433.        filename would access a special message board. Filename is entered
  434.        WITHOUT an extention. The RYBBS program will put the extensions on.
  435.  
  436.          Example
  437.             chek,c,5,5,[C]heck for personal messages,[Filename]
  438.  
  439. Actb - Changes the viewing status of a particular board when the
  440.        user is viewing messages with the All Boards option enabled.
  441.        Putting this into a mult command will allow boards to be
  442.        enabled or disabled automatically. To turn the board on, enter
  443.        the positive board number, to turn the same board off enter the
  444.        board number with a negative sign in front. The * key will turn
  445.        all boards off. The # key will turn all boards on.
  446.         example:
  447.            actb,a,100,5,[A]ctivate boards  {here,this is an invisible command}
  448.            mult,m,5,5,[M]essage #2 area,a;-1;2;3;4;-5;-6;-7;8;9;-10;q;m2
  449.            mult,m2,100,5,extended mult command,a;11;12;13;-14;-15...etc;m3
  450.            menu,m3,100,5,Message #2 area menu file,Menu2.bbs
  451.  
  452. Chgm - Change the message area. The file boards.bbs contains all of
  453.        the allowable board names along with their security and id
  454.        number.   (ie 2,5,Fun and Games)
  455.                      | |       |
  456.         id number----  |      Name
  457.         security ------
  458.  
  459.          Example
  460.             Chgm,c,5,5,[C]hange message areas
  461. .pa
  462. FILE COMMANDS
  463. -------------
  464. Shof - Shows the current file area. This command may be located anywhere
  465.        in the menu that's desired. The access and view security should
  466.        be set higher then 100 (because they have no effect and should
  467.        not be viewed or executed).
  468.          Example
  469.            Shof,xc,105,105, Invisible Show File command,
  470.  
  471. Down - Download a file from the current file directory. If the file
  472.        exists, the transfer protocol is requested (ascii or xmodem).
  473.        If all is well, the program is sent the the requesting user.
  474.  
  475.           Example
  476.             Down,d,6,6,   [D]ownload a file
  477.  
  478. Auto - Auto-download a file in xmodem protocol. First checks for
  479.        user's ability to do so and then querys for a filename.The
  480.        bbs then takes control of the users computer and sends a
  481.        file xmodem (checksum). This capability was designed by
  482.        Bob Mahoney for his Exec-Pc BBS.
  483.          Example
  484.             auto,a,5,5,[A]uto-download a file
  485.  
  486. Upld - Upload a file to the bbs. Asks for a file name and if the
  487.        name is unique, the protocol is requested. (ascii or xmodem)
  488.        The file is then taken from the user and stored on the disk.
  489.          Example
  490.             Upld,u,5,5,  [U]pload a file,\upload\
  491.  
  492. Lifi - List the files in the current directory. The optional file name
  493.        contains the name of the file holding the directories contents.
  494.        Files.bbs is often used for this. The filename will have the
  495.        directory path applied to the beginning of the name.
  496.           Example
  497.              Lifi,l,5,5,  [L]ist files in this directory,files.bbs
  498.  
  499. Chgu - Change the upload file area. The file area names are contained in the
  500.        file upload.bbs. The filename in the command can contain the name
  501.        of a textfile that will be output in leu of the normal list of
  502.        file areas (thereby making graphics and formated area lists possible)
  503.           Example
  504.             Chgu,1,5,5, [C]hange download file area,upload.dir
  505.  
  506. Chgd - Change the download file area. The file area names are contained in the
  507.        file download.bbs. The filename in the command can contain the name
  508.        of a textfile that will be output in leu of the normal list of
  509.        file areas (thereby making graphics and formated area lists possible)
  510.           Example
  511.             Chgu,1,5,5, [C]hange upload file area,upload.dir
  512.  
  513. Newf - Check for new files in the file directory. This will query
  514.        the user for a date (return if present date) and then will
  515.        list out the files that meet that criteria.
  516.  
  517.          Example
  518.             Newf,n,5,5,[N]ew files,files.bbs
  519.  
  520. Seaf - Check the file directory for files that match an inputed
  521.        string.
  522.          Example
  523.             Seaf,s,5,5,[S]earch files for a string,files.bbs
  524.  
  525.  
  526. MISC COMMANDS
  527. -------------
  528.  
  529. Ques - Allows a questionaire to be asked and answered. The questionaire
  530.        is a standard text file with several lines of questions. Each
  531.        line is read and displayed to the user. The user is then
  532.        prompted for an answer to the question. Form of the command is
  533.  
  534.         Ques,q,5,5,   [Q]uestionaire   ,ques
  535.  
  536.        In this example the file Ques.que will contain the list
  537.        of questions. The file Ques.ans will be created (when the
  538.        first user activates the ques command) and the replies to
  539.        the questions will be appended to that file.
  540.  
  541. Autp - Auto-post a text file. This will allow the user to upload a
  542.        file that will overwrite an existing file. Its' main use is
  543.        for remote sysops to update frequently changing bulletins.
  544.         Example:
  545.           Autp,a,50,50,    [A]uto-Post Bulletin #1,\bullet\bull1.txt
  546.  
  547. Text - Prints out a text file of name filename (appearing after the
  548.        command text. The file will be printed to the bbs's screen as
  549.        well as the modem. After 22 lines have been printed the logee
  550.        will be asked to (c)ontinue, (n)on-stop, or (s)top. He also
  551.        has the ability to abort the printout via a ^K (control K)
  552.        keypress during text output.
  553.  
  554.          example:
  555.             Text,b,5,5,  [B]ulletins of the day,bull.txt
  556.  
  557. Menu - Load and execute a new menu file. If the menu filename was
  558.        contained in the Menus.bbs file, the complete menu was already
  559.        loaded into memory and will be displayed immediately. If not
  560.        contained in the Menus.bbs file, the program will search the
  561.        for the menu filename and load it if found. If not found it
  562.        will issue a message to that effect.
  563.  
  564.            Example:
  565.              Menu,f,5,5,   [F]iles Section,files.mnu
  566.  
  567. Cmnt - Comment. Can display info on the menu but will have no effect
  568.        if the command is activated. Also the command letter will not
  569.        be displayed in the short menu.
  570.  
  571.           Example:
  572.             Cmnt,xxx,5,5,-------------Bulletins of the Day-----------
  573.  
  574. Xprt - Toggle the expert mode. Turns the expert mode on if off or off
  575.        if currently on. The user file will be updated with the latest
  576.        status of this flag. In the expert menu, only the short menus
  577.        are shown.
  578.  
  579.           Example
  580.             Xprt,x,5,5,   [X]pert user toggle
  581.  
  582. List - List the users.
  583.           Example
  584.             List,s,5,5,   [S]how bbs's users
  585.  
  586. Mult - Execute multiple commands immediately. The filename in the
  587.        command line contains a string which the bbs will handle as
  588.        if the user entered it.
  589.  
  590.          Example
  591.             chgf,1,5,5,  1-Change to fun and games directory,\fun\
  592.             chgf,2,5,5,  2-Change to turbo pascal directory,\turbo\
  593.             Lifi,l,5,5,[L]ist files in this directory
  594.             Mult,a,5,5,List [A]ll files,1;l;2;l
  595.  
  596.          Example
  597.             menu,m,5,5,[M]essage area,mess.mnu
  598.             mult,l,5,5,[L]eave a comment for sysop,m;e;sysop;comment;y;q
  599.  
  600. Revf - Output a textfile in reverse order. The entire file is read
  601.        in (maximum lines=200) and then the file is displayed last
  602.        line first. This can be quite useful for displaying the
  603.        callers log. This command may be interrupted by typing ^K
  604.        (control K).
  605.  
  606.          Example
  607.             Revf,r,100,100,Show [C]allers log,callers.log
  608.  
  609. Seat - Check a text file for an inputed string.
  610.          Example
  611.             Seat,s,5,5,[S]earch file for a string,bullet12
  612.  
  613. Quit - Leave the program after confirm. After activation, the program
  614.        asks the person "Do you really wish to log off (y/n)?-". If the
  615.        answer is y the person is given the goodbye.bbs message and
  616.        the modem hangs up.
  617.  
  618.          example
  619.            Quit,g,5,5,   [G]oodbye and Logoff (after verify)
  620.  
  621. Term - Log Off immediately. Display the goodbye.bbs file and drop
  622.        carrier.
  623.          Example
  624.             Term,c,5,5,[C]rash the system
  625.  
  626. Chat - Checks for presence of sysop (by beeping speaker a few times)
  627.        and if sysop desires conversation with user, a conference mode
  628.        is begun.
  629.          Example
  630.             chat,y,5,5,[Y]ell for the sysop
  631.  
  632. Quer - Allows menu query line to be customized as the sysop desires. If
  633.        this statement is omitted from the present menu, the options that
  634.        are contained in that menu will be displayed as follows:
  635.  
  636.          Example
  637.             quer,xxx,5,5,Enter Command [option1 option2...optionN]?-
  638.  
  639.      will appear as
  640.  
  641.          Enter Command [option1 option2 ... optionN]?-
  642.  
  643. Show - Will list the long form of the menu. This is useful when the user
  644.        has expert status but can't remember a particular command and needs
  645.        a fast look-see at the allowable commands (without switching off
  646.        his expert status).
  647.  
  648.          Example
  649.             show,?,5,5,[?]-Help for this menu
  650.  
  651. Ment - Displays a file instead of the menu option list. Allows longer and
  652.        more detailed menus.
  653.          example
  654.            ment,xxx,100,5,dummy,main.txt
  655.         Will output text file main.txt instead of the menu. The short options
  656.          (ie Enter option [x1 x2 x3...xn]- ) or the QUER statment will still
  657.          be in effect.
  658.  
  659. Stat - Shows the users statistics (password, ,graphics, scroll,
  660.        uploads, downloads and time on today) and allows change thereof.
  661.          example
  662.            stat,s,5,5,  [S]tatisics for this user
  663.  
  664. Defm - Define a macro key. Allows a series of characters to be assigned
  665.        to a single entry (1-3 keystrokes). Every time the entry is
  666.        entered into the system, if it is unique in the current menu, the
  667.        series of characters is applied to the command buffer and executed
  668.        one after another.
  669.           Example
  670.             Defm,d,5,5,  [D]efine macro key,
  671.  
  672.        When d is entered the user is prompted for the key access and
  673.        then the characters to be executed from that key access. Each user
  674.        may have up to 10 macros assigned.
  675.  
  676. Syst - Show the system statistics. Display Rybbs version #, Number of callers
  677.        since last re-boot and current time and date.
  678.           Example
  679.             Syst,Y,15,5,   S[Y]stem Stats,
  680.  
  681. SYSOP COMMANDS
  682. --------------
  683. Boot - After current user logs off, this will exit the program and
  684.        hopefully re-start. This can be
  685.        useful for editing a menu file already in memory. Since
  686.        editing the file on disk won't actually have an effect until
  687.        the program reads the menu file we can restart the program
  688.        and load them in that way.
  689.  
  690.             Example
  691.               Boot,b,100,100,     [B]oot the system
  692.  
  693. Edit - Edit users file. Allows the users.bbs file to be displayed
  694.        and altered.
  695.          Example
  696.             Edit,u,100,100,Edit [U]sers file
  697.  
  698. Edtx - Edit a text file. Load a text file and display it. Then by
  699.        a numbered line system give the user the ability to change
  700.        and redisplay the file. If acceptable, the altered file
  701.        may be stored to disk as the same name.
  702.          Example
  703.             Edtx,t,100,100,Edit [T]ext File,files.mnu
  704.  
  705. Exec - Execute a command. The file 'online.bbs' contains a list
  706.        of dos commands (entered exactly as from a keyboard) which
  707.        are displayed and given an option number. If one of their numbers
  708.        is chosen that file will be executed (if possible). If 0 is entered
  709.        a dos command is allowed. If insufficient memory exists, the command
  710.        will be ignored.
  711.          Example
  712.             Allowable commands:
  713.             DIR>COM1
  714.             REN file1.ext file2.ext
  715.             COPY \dir1\file1.exe \dir2
  716.             Fmove \dir1\filename \dir2
  717.             etc.
  718.  
  719.          Example
  720.             exec,x,100,100,e[X]ecute a dos command
  721.  
  722. Runp - Run a program. The file 'programs.bbs' contains a list
  723.        of dos commands (entered exactly as from a keyboard) which
  724.        are displayed and given an option number. If one of their numbers
  725.        is chosen that file will be executed (if possible).
  726.        If insufficient memory exists, the command will be ignored.
  727.  
  728.          Example
  729.             runp,x,10,10,[R]un an external program
  730.  
  731. Make - Create a textfile. Filename is contained in command line.
  732.          Example
  733.             Make,m,100,100,[M]ake a new callers.log,callers.log
  734.  
  735. Lcom - Outputs a remark to a text file. Will normally be used within a
  736.        MULT command but could be used anytime. Normal use (as I see it)
  737.        would be to flag a certain user activity.
  738.          Example
  739.            lcom,t,100,5,User read bulletin #15,callers.log
  740.            text,b15,100,5,bulletin 15,bullet15.
  741.            mult,15,5,5,    [15]-Read bulletin 15,t;b15
  742.  
  743.           When the number 15 is entered at the menu (by the user)
  744.           the effect will be to write the string 'User read
  745.           bulletin #15' to the callers.log and then to actually
  746.           output the text file bullet15.
  747.  
  748. Noop - No Operation
  749.  
  750. ----------------------------------------------------------------
  751. Files
  752. ----------------------------------------------------------------
  753.  
  754. Board directories                                                           *
  755. ----------------                                                            *
  756. The files Boards.bbs must be present on startup of the RYBBS.  This file    *
  757. defines the various message bases available and their security levels.      *
  758. The optional file name parameter is used if separate message files are      *
  759. setup.  If this parameter is omitted, then rmess.bbs and rline.bbs files    *
  760. are assumed as the message base.                                            *
  761.                                                                             *
  762. The optional message files must be created by making copies of RMESS.BBS    *
  763. and RLINE.BBS to new names.                                                 *
  764.                                                                             *
  765. The format of the files is as follows:                                      *
  766.                                                                             *
  767.      number,security,Message Board name,[filename]                          *
  768.                                                                             *
  769. For example:                                                                *
  770.                                                                             *
  771.   1,5,General Message Area                                                  *
  772.   2,10,Requests for Public Domain Software                                  *
  773.  
  774. ----------------------------------------------------------------            *
  775. File directories
  776. ----------------
  777. The files download.bbs and upload.bbs must be present on startup of the
  778. RYBBS.  You may have as few as 1 upload and 1 download area or as many as
  779. 30 upload and 30 download areas. The format of the files is as follows:
  780.  
  781. number,security,descriptive text,path\
  782.  
  783.      Note: You must end the path with the \ sign.
  784.  
  785. For example:
  786.  
  787.   1,5,fun and games,\files\fun\
  788.   2,8,private,\files\rybbs\
  789.  
  790. ----------------------------------------------------------------
  791.  
  792. Menus.bbs contain the names of the menu filenames. These menus will
  793.           be loaded into memory when the program is started. It is
  794.           not necessary to load the menus from the disk although
  795.           it is possible. When the MENU command is issued the program
  796.           checks to see if the called menu is available in memory. If
  797.           it is, it's loaded immediately from memory. If not, the
  798.           current directory is searched for the filename and loads the
  799.           menu in from disk.
  800.  
  801. Goodbye.bbs
  802.          Standard text file giving users signoff information.
  803.  
  804.  
  805. Newuser.bbs
  806.          Standard text file that is displayed to new users.
  807.  
  808. Hello.bbs
  809.          Standard text file that will be displayed before logon.
  810.          Normally would contain system identification and not be
  811.          changed.
  812.  
  813. Welcome.bbs
  814.          Standard text file giving users signon information before
  815.          they actually log-in.
  816.  
  817. Welcome1.bbs
  818.          Standard text file giving users information immediately after
  819.          they log-in.
  820.  
  821. Callers.log
  822.          Standard text file that keeps track of the activities that
  823.          happen in the bbs. Downloads, uploads, logon, logoff and several
  824.          other items of interest are logged in this file.
  825.  
  826. Modeinit.bbs
  827.          Standard text file that contains modem commands that would be
  828.          sent to modem upon start of program and after each user logs
  829.          off (or disconnects).Each line will be sent to modem followed
  830.          by a return character (0d hex).
  831.  
  832. Offhook.bbs
  833.          Standard text file with modem commands to take phone 'off-hook'.
  834.  
  835. ----------------------------------------------------------------
  836.  
  837. Messages are made up 2 files
  838.  
  839.   rmess.bbs is a file of message_type as follows:
  840.  
  841.     message_type=record
  842.                     from     :string[37];      {message from}
  843.                     toname   :string[37];      {message to}
  844.                     private  :boolean;         {is it private?}
  845.                     date     :date_type;
  846.                     time     :date_type;
  847.                     board    :byte;            {board for this mess}
  848.                     thread   :integer;         {replies to this mess?}
  849.                     startline:integer;         {startline in rline.bbs}
  850.                     endline  :integer;         {ending line in rline.bbs}
  851.                     about    :string[40];      {message short descrip.}
  852.                     deleted  :boolean;
  853.                     received :boolean;
  854.                     prevmess :integer;
  855.                     misc1    :integer;
  856.                     misc2    :integer;
  857.                     misc3    :integer;
  858.                  end;
  859.  
  860.    Rmess.bbs contains the starting and ending line position of the following
  861.    file...each message can therefore be as long as you wish and we can still
  862.    access the information sequentially and therefore quite quickly.
  863.  
  864.    rline.bbs is a file of line_type as follows:
  865.       line_type=string[80];
  866.  
  867. ----------------------------------------------------------------
  868.  
  869.  
  870.   The users file is named Users.bbs and is made up of records as
  871.   follows:
  872.  
  873.  
  874.   If no file Users.bbs is found when the program begins, one is created.
  875.  
  876. NOTE:
  877.   One record is generated with the name SYSOP, the password NEW, and
  878.   the security level 100.
  879.  
  880.   YOU SHOULD IMMEDIATELY CHANGE THIS PASSWORD!!!!
  881.   YOU SHOULD IMMEDIATELY CHANGE THIS PASSWORD!!!!
  882.   YOU SHOULD IMMEDIATELY CHANGE THIS PASSWORD!!!!
  883.  
  884.   user_type=record
  885.                     name      :  string[37];
  886.                     callfrom  :  string[30];
  887.                     password  :  string[14];
  888.                     lasttime  :  string[17];
  889.                     phone     :  string[12];
  890.                     credit,
  891.                     pending,
  892.                     security,
  893.                     uploads,
  894.                     downloads,
  895.                     totaluk,
  896.                     totaldk,
  897.                     timeson,
  898.                     timeleft,
  899.                     last_read,
  900.                     last_m_area,            {last board  500=all}
  901.                     last_f_area: integer;   {last download area}
  902.                     xpert,
  903.                     lockedout,
  904.                     deleted,
  905.                     universal  : boolean;
  906.                     graphics   : byte;      {graphics 0=no, 1=yes}
  907.                     last_u_area:integer;    {last upload area}
  908.  
  909.                     extra      : array[1..19] of integer;
  910.                   end;
  911.  
  912. ----------------------------------------------------------------
  913.  
  914. Remote use of RYBBS
  915.  
  916. Rybbs may be used to access your computer remotely. This capability is
  917. reserved for sysops (the program checks to make sure that the user
  918. has a security level of at least 100 before allowing access to this
  919. command).
  920.  
  921. To access the computer remotely set up a batch file as follows:
  922.  
  923. watchdg1 on
  924. ctty com1
  925. command.com
  926. ctty con
  927. watchdg1 off
  928.  
  929. My particular file is named Remote.bat and it is one of the choices
  930. in my online.bat file so I when I execute the exec command (from my
  931. sysop menu of course) all I need type is the number corresponding to
  932. the batch file and I'm dropped to dos with all the necessary commands
  933. activated automatically.
  934.  
  935. Watchdog is a public domain program that monitors the status of the
  936. carrier detect line and if it doesn't see it, it reboots the entire
  937. system. In this manner, even if you are knocked off the modem by
  938. some line noise the system won't freeze until you manually reboot.
  939. Note: this watchdog program utilizes the timer interrupt. This means
  940. that it may or may not screw up a concurrent operating system. Watchdog
  941. may or may not run correctly with the DoubleDos concurrent operating
  942. system. Watchdog reroutes the computer's timer interrupt to monitor
  943. carrier detect constantly. Many concurrent op. systems do the same and
  944. therefore there may be some contention.
  945.  
  946. ----------------------------------------------------------------
  947.  
  948. Sysop Commands
  949.  
  950. Commands that the system operator will find valuable are shown
  951. below next to their associated keypresses.
  952.  
  953. Key           Command
  954. F1            Sysop Available Toggle
  955. F2            Sysop Bell Toggle
  956. F3            Screen Echo
  957. F4            Sysop Log-On
  958. F5            Sysop utilities
  959. F7            Force Chat with present user
  960. F8            Log user off (after verify and outputing file killuser.bbs)
  961. F9            Change users security (while he's online)
  962. F10           Drop out of program to Dos.
  963. Alt-A         Kill user immediately
  964. Alt-D         Sysop Drop to DOS (RYBBS remains resident!)
  965. Alt-S         Erase sysop menu
  966. Alt-U         Display extensive information on current or last user.
  967. Ctrl-X        Quit program
  968.  
  969. F1-Sysop Available Toggle
  970.  
  971. This will allow the sysop to be paged (via a speaker tone). If
  972. the sysop wishes to converse with the user, he would normally press
  973. the space bar and begin to type. At the end of the chat, the sysop
  974. must press the Ctrl-Z key to exit the chat mode and return the user
  975. to the bbs.
  976.  
  977. F2-Sysop Bell Toggle
  978.  
  979. This will allow the sysop to be paged silently. Perhaps he's working nearby
  980. or viewing the screen and doesn't need to hear the chat tone.
  981.  
  982. F3-Screen Echo
  983.  
  984. Show just about everything the remote user sees to the sysop. Disabling
  985. this option should make the user's display run slightly faster since the
  986. information being displayed does not have to be repeated on the bbs console.
  987.  
  988. F4-Sysop Log-on
  989. This will allow the sysop to log onto the system locally. The bbs will
  990. act nearly identically to the way it acts remotely. The only differences
  991. will be that downloads and uploads might be a bit difficult and the
  992. boot command (see below) won't work. When the sysop logs on the modem
  993. will normally go 'off hook' so that it sounds as if the bbs line is busy.
  994.  
  995. F5-Sysop utilities
  996. This will pop up the sysop utility menu. This is explained in detail below.
  997.  
  998. F7-Force Chat
  999. When the F7 key is pressed, the user online would be immediately interrupted
  1000. and told that the sysop desires to converse with him. After the chat is
  1001. complete, the sysop presses the Ctrl-Z key to return the user to the regular
  1002. operation of the bbs.
  1003.  
  1004. F8-Log User Off
  1005. This will give the sysop the ability to disconnect the current user.
  1006. When the F8 key is pressed the sysop is prompted to make sure he does
  1007. really wish to disconnect this user. If the answer is yes then, it
  1008. will output the file KillUser.bbs (if available) and then disconnects
  1009. the user. This is normally the 'nice' way to disconnect somebody. The
  1010. killuser.bbs file often contains a messages indicating that the sysop
  1011. requires the system and they should call back.
  1012.  
  1013. F9-Change User Security
  1014. This will allow the sysop to increase (or decrease) the security level
  1015. of the presently on-line user. Note: this security level WILL be recorded
  1016. in the user's file as a permanent (until changed again) item.
  1017.  
  1018. F10-Exit to Dos
  1019. Stops the program immediately. Does not log the user off.
  1020.  
  1021. Alt-A- Disconnects the user immediately. Does not give a reason or output
  1022.  any file. Used normally for pest callers. Sets the lock-out flag on
  1023.  the current user.
  1024.  
  1025. Alt-D- Drop to DOS.   Allows local sysop to drop to DOS without exiting     *
  1026.   RYBBS.  Uses standard DOS shell technique.  Type "EXIT" to return to      *
  1027.   RYBBS.                                                                    *
  1028.                                                                             *
  1029. Alt-S Allows the sysop menu to be removed from the screen. Increases the
  1030.   width of the sysops screen to the full 80 columns.
  1031.  
  1032. Alt-U- Displays extensive information about the currently logged-on caller   *
  1033.   or the most recent caller.                                                 *
  1034.  
  1035. ----------------------------------------------------------------
  1036.  
  1037. Disclaimer
  1038. ----------
  1039. Although this program has been tested extensively, Gregory J. Ryan shall
  1040. in no way be responsible for any special, incidental, consequential or
  1041. other damages. The use of this program is at the USERS OWN risk.
  1042.  
  1043. ----------------------------------------------------------------
  1044.  
  1045. If you have any questions about this program please call Dent-Tech at
  1046. 1-414-224-1062.
  1047.  
  1048.